package cn.mxq.dao;

import cn.mxq.domain.po.PayOrder;
import cn.mxq.domain.req.ShopCartReq;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Mxq
 * @description
 * @create 29/3/2025 下午9:02
 */
@Mapper
public interface IOrderDao {

    void insert(PayOrder payOrder);

    PayOrder queryUnPayOrder(PayOrder payOrder);

    void updateOrderPayInfo(PayOrder payOrder);

    void changeOrderPaySuccess(PayOrder order);

    List<String> queryNoPayNotifyOrder();

    List<String> queryTimeoutCloseOrderList();

    boolean changeOrderClose(String orderId);
}


